Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
e1a15bd to
44bffda
Compare
This comment has been minimized.
This comment has been minimized.
44bffda to
dce857b
Compare
This comment has been minimized.
This comment has been minimized.
dce857b to
eb307a8
Compare
The DI container migration hard-coded refreshIntervalMs to 0 and never bound GY.refreshInterval, so the Refresh time property had no effect. Derive the interval from props and bind the token, mirroring Datagrid. Adds container-level regression tests. Ticket: WC-3630
eb307a8 to
d41ba90
Compare
AI Code Review
What was reviewed
Skipped (out of scope): CI checks: could not retrieve (permission denied) — author confirms lint and tests pass locally (tasks.md §3.2 ✓). Findings
|
Pull request type
Bug fix (non-breaking change which fixes an issue)
Description
Gallery's "Refresh time (in seconds)" property has had no effect since the DI container migration (b5010ee).
galleryConfighard-codedrefreshIntervalMs: 0, and theGY.refreshIntervaltoken injected intoDatasourceServicewas never bound.refreshIntervalMsfromprops.refreshInterval * 1000and bindsGY.refreshIntervalin the query bindings, mirroring Datagrid 2.Found while implementing WC-3362.
What should be covered while testing?